package fr.snac.serialization;

import java.io.Serializable;

public class PostInfo implements Serializable{
	
	private boolean isDownloaded;
	private long id;
	private String caption;
	private String date;
	
	private static final long serialVersionUID = -1870185715030577965L;
	
	public PostInfo(long id, String caption, String date) {
		this.id = id;
		this.caption = caption;
		this.date = date;
	}

	public boolean isDownloaded() {
		return isDownloaded;
	}

	public void setDownloaded(boolean isDownloaded) {
		this.isDownloaded = isDownloaded;
	}

	public long getId() {
		return id;
	}

	public String getCaption() {
		return caption;
	}

	public String getDate() {
		return date;
	}
	
}
